import numpy as np
error_h1 =0.006012525369492868
error_h2 =0.016229040869395698
log_ratio = np.log(error_h2 / error_h1) / np.log(2)
print(log_ratio)